import {request} from "../utils/axios";
var source = 2
// 短信验证码登录
export function login (params) {
    params.source = source
    return request({
        url: '/LoginByCode',
        method: 'post',
        data: params
    })
}
// 获取验证码
export function verifyCode (params) {
    params.source = source
    return request({
        url: '/GetSMSForLogin',
        method: 'post',
        data: params
    })
}